{% extends "bouting/base.html" %}
{% block content %}

{% if tournamentList %}
    <ul>
    {% for tournament in tournamentList %}
        <!--<li><a href="/bouting/{{ person.id }}/">{{ person.firstName }}</a></li>-->
        <li>
            <a href="/bouting/{{tournament.id}}/tournamentView/">{{tournament}}</a>
        </li>
    {% endfor %}
    </ul>
{% else %}
    <p>You haven't made any tournaments yet!</p>
{% endif %}


{%endblock%}